<!DOCTYPE html>
<html>
  <head>
    <meta name="creator" content="mantohtml v2.0.1">
    <title>lpmove(8)</title>
  </head>
  <body>
    <h1 id="lpmove-8">lpmove(8)</h1>
    <h2 id="lpmove-8.name">Name</h2>
<p>lpmove - move a job or all jobs to a new destination
</p>
    <h2 id="lpmove-8.synopsis">Synopsis</h2>
<p><strong>lpmove</strong>
[
<strong>-h </strong><em>server</em>[<strong>:</strong><em>port</em>]
] [
<strong>-E</strong>
] [
<strong>-U</strong>
<em>username</em>
]
<em>job</em>
<em>destination</em>
<br>
<strong>lpmove</strong>
[
<strong>-h </strong><em>server</em>[<strong>:</strong><em>port</em>]
] [
<strong>-E</strong>
] [
<strong>-U</strong>
<em>username</em>
]
<em>source</em>
<em>destination</em>
</p>
    <h2 id="lpmove-8.description">Description</h2>
<p><strong>lpmove</strong> moves the specified <em>job</em> or all jobs from <em>source</em> to <em>destination</em>. <em>job</em> can be the job ID number or the old destination and job ID.
</p>
    <h2 id="lpmove-8.options">Options</h2>
<p>The <strong>lpmove</strong> command supports the following options:
</p>
    <p style="margin-left: 2.5em; text-indent: -2.5em;"><strong>-E</strong><br>
Forces encryption when connecting to the server.
</p>
    <p style="margin-left: 2.5em; text-indent: -2.5em;"><strong>-U </strong><em>username</em><br>
Specifies an alternate username.
</p>
    <p style="margin-left: 2.5em; text-indent: -2.5em;"><strong>-h </strong><em>server</em>[<strong>:</strong><em>port</em>]<br>
Specifies an alternate server.
Note: This option must occur before all others.
</p>
    <h2 id="lpmove-8.examples">Examples</h2>
<p>Move job 123 from &quot;oldprinter&quot; to &quot;newprinter&quot;:
</p>
    <pre>
    lpmove 123 newprinter

            <em>or</em>

    lpmove oldprinter-123 newprinter

</pre>
<p>Move all jobs from &quot;oldprinter&quot; to &quot;newprinter&quot;:
</p>
    <pre>
    lpmove oldprinter newprinter
</pre>
    <h2 id="lpmove-8.see-also">See Also</h2>
<p><strong>cancel</strong>(1),

<strong>lp</strong>(1),

<strong>lpr</strong>(1),

<strong>lprm</strong>(1),

<br>
CUPS Online Help (<a href="http://localhost:631/help">http://localhost:631/help</a>)
</p>
    <h2 id="lpmove-8.copyright">Copyright</h2>
<p>Copyright &copy; 2020-2024 by OpenPrinting.
  </body>
</html>
